package com.bo.baby2;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import javax.servlet.annotation.WebFilter;

@SpringBootApplication
@MapperScan("com.bo.baby2.dao")
@EnableTransactionManagement
@EnableScheduling   //开启定时任务
/*@WebFilter(filterName = "FilterSession",urlPatterns = {"/*"})*/
public class Baby2Application {
    public static void main(String[] args) {
        SpringApplication.run(Baby2Application.class, args);
    }

}
